<!DOCTYPE html>
<html lang=zh-CN>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1">
		<title>uni-app h5平台在电脑浏览器打开解决方案</title>
		<meta name="Copyright" content="helang">
		<link rel="shortcut icon" type="image/png" href="/uniapp-extend/static/logo.png">
		<meta name="keywords" content="黄河爱浪,WEB前端河浪,jQuery插件开发者河浪">
		<meta name="description" content="公众号:web-7258,QQ:1846492969,邮箱:helang.love@qq.com">
		<link rel="stylesheet" type="text/css" href="pc.css"/>
		<script type="text/javascript">
			window.isPC = true;
			
			window.addEventListener("load",function(){
				var basic = '/uniapp-extend/';
				// 若你的项目未设置根目录（默认为 / 时），则使用下方代码
				// var basic =  '/';

				var src = basic + window.location.hash;
				
				/* 监听电脑浏览器窗口尺寸改变 */
				window.addEventListener("resize",function(){
					/* 窗口宽度 小于或等于768px 时，跳转回H5页面 */
					if(window.innerWidth <= 768){
						window.location.replace(src);
					}
				},false);
				document.querySelector("iframe").setAttribute("src",src);
			},false);
		</script>
	</head>
	<body>
		<div class="container">
			<div class="iframe">
				<iframe></iframe>
			</div>
			<div class="content">
				<h1>UNI-APP 河浪插件分享</h1>
				<h3>uni-app h5平台在电脑浏览器打开解决方案</h3>
				<div class="qrcode">
					<img src="../qrcode_h5.png" alt="二维码" style="display: block;">
				</div>
				<p>使用手机扫描二维码获得更佳体验</p>
			</div>
		</div>
		
	</body>
</html>
